﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebServiceKFC.ThanhVienF
{
    public class SafeThanhVienDTO: ThanhVienDTO
    {
        public void Attach(ThanhVienDTO thanhVien)
        {
            this.TheID = thanhVien.TheID;
            this.Diem = thanhVien.Diem;
            this.PhanTramGiamGia = thanhVien.PhanTramGiamGia;
        }

        internal void Attach(Model.ThanhVien i)
        {
            this.TheID = i.theID;
            this.Diem = i.diem;
            this.PhanTramGiamGia = i.phanTramGiamGia;
        }
    }
}